<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
</head>
<body>
	<!-- 单元格合并：
	colspan:跨列侵占，横向合并,只会向后合并 注意：总列数不变，把多余的删掉
	rowspan：跨行侵占，竖向合并 


	 -->
	<table border="1" cellspacing="0" width="200">
		<tr>
			<td>姓名</td>
			<td>性别</td>
			<td>年龄</td>
		</tr>
		<tr>
			<td colspan="2" align="center">孙行者</td>
			<td>男</td>
			<td>500</td>
		</tr>
		<tr>
			<td rowspan="2">猪八戒</td>
			<td>男</td>
			<td>200</td>
		</tr>
		<tr>
			<td>唐僧</td>
			<td>男</td>
			<td>20</td>
		</tr>
	</table>

</body>
</html>